package com.netbliz.ftpmanagment.pojo;

import java.sql.Timestamp;

public class StatUser implements java.io.Serializable {

	// Fields

	private Integer id;
	private String user;
	private Integer conn;
	private Integer downFile;
	private Double downMb;
	private Double downPercent;
	private Integer upFile;
	private Double upMb;
	private Double upPercent;
	private Timestamp statTime;
	private Timestamp createTime;

	// Constructors

	/** default constructor */
	public StatUser() {
	}

	/** minimal constructor */
	public StatUser(String user, Integer conn, Integer downFile, Double downMb, Integer upFile, Double upMb, Timestamp statTime, Timestamp createTime) {
		this.user = user;
		this.conn = conn;
		this.downFile = downFile;
		this.downMb = downMb;
		this.upFile = upFile;
		this.upMb = upMb;
		this.statTime = statTime;
		this.createTime = createTime;
	}

	/** full constructor */
	public StatUser(String user, Integer conn, Integer downFile, Double downMb, Double downPercent, Integer upFile, Double upMb, Double upPercent,
			Timestamp statTime, Timestamp createTime) {
		this.user = user;
		this.conn = conn;
		this.downFile = downFile;
		this.downMb = downMb;
		this.downPercent = downPercent;
		this.upFile = upFile;
		this.upMb = upMb;
		this.upPercent = upPercent;
		this.statTime = statTime;
		this.createTime = createTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUser() {
		return this.user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public Integer getConn() {
		return this.conn;
	}

	public void setConn(Integer conn) {
		this.conn = conn;
	}

	public Integer getDownFile() {
		return this.downFile;
	}

	public void setDownFile(Integer downFile) {
		this.downFile = downFile;
	}

	public Double getDownMb() {
		return this.downMb;
	}

	public void setDownMb(Double downMb) {
		this.downMb = downMb;
	}

	public Double getDownPercent() {
		return this.downPercent;
	}

	public void setDownPercent(Double downPercent) {
		this.downPercent = downPercent;
	}

	public Integer getUpFile() {
		return this.upFile;
	}

	public void setUpFile(Integer upFile) {
		this.upFile = upFile;
	}

	public Double getUpMb() {
		return this.upMb;
	}

	public void setUpMb(Double upMb) {
		this.upMb = upMb;
	}

	public Double getUpPercent() {
		return this.upPercent;
	}

	public void setUpPercent(Double upPercent) {
		this.upPercent = upPercent;
	}

	public Timestamp getStatTime() {
		return this.statTime;
	}

	public void setStatTime(Timestamp statTime) {
		this.statTime = statTime;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

}